module.exports = {
  presets: ['module:metro-react-native-babel-preset'],
  plugins: [
    [
      'module-resolver',
      {
        root: [
          '.',
        ],
        extensions: [
          '.ios.ts',
          '.android.ts',
          '.ts',
          '.ios.tsx',
          '.android.tsx',
          '.tsx',
          '.jsx',
          '.js',
          '.json',
        ],
        alias: {
          'react-native/Libraries/Animated/src/Easing': 'react-native/Libraries/Animated/Easing',
          '@TYPES': './src/types',
          '@CONFIG': './src/config',
          '@UTILS': './src/utils',
          '@API': ['./src/api/Api'],
          '@CONSTANTS': ['./src/constants'],
          '@COMPONENTS': ['./src/components'],
          '@REDUX': ['./src/redux'],
          '@SCREENS': ['./src/screens'],
          '@THEME': ['./src/theme'],
          '@NAVIGATION': ['./src/navigation'],
          '@HOOKS': ['./src/hooks'],
          '@ASSETS': ['./src/assets'],
          '@IMAGE': ['./src/assets/Images'],
          '@MODEL': ['./src/model'],
        },
      },
    ],
    'react-native-reanimated/plugin',
  ],
}
